This is an example (BASIC):
- Code: Select all
GridObject$ = ""
FOR I&& = 1 TO 178956971
IF I&& MOD 100000 = 0 THEN PRINT I&&; "of 178956971 ...";
IF I&& = 178956971 THEN GridObject$ = GridObject$ + "7|" ELSE GridObject$ = GridObject$ + "0"
NEXT I&&
It may be a problem with the GL version of QB64, it's not nearly as stable as the SDL version of QB64 for linux. In any case, it should not cause the operating system to hang, so that's why I'm mentioning it here. Somewhere around 2.8 million characters is when it hangs the system. It has done this to me 3 times now in 3 different locations. I'd like to try it with QB64(SDL) but it requires SDL libraries which are not installed in Ultimate Edition 3.8 and I don't know how to properly install them.