is there some straightforward way of checking if script is running on, let's say, classic amiga or windows?
At the moment I'm using something like:
Code: Select all
sysInfo=GetSystemInfo()
If Not HaveItem(sysInfo,"username")
; I assume it is amiga in that case
endif
I'm asking this question since whenever I run my program on classic amiga I have to uncomment ExitOnError(False) and set slightly different values for some variables (for speed reason).