Quote:
Originally Posted by LessNick
Thank you so much. Perhaps this will really help solve the problem.
It remains to find the correct library version and figure out how to include to the project.
|
If you use the version of Blitz in the Ultimate Blitz Basic CD, it already has the optimum versions of most libraries set up by default, and likewise for AmiBlitz 3. If you're using an older version of Blitz 2.1, check out the Extras floppy - it should still have a version of that library, even if it's not the latest.
Quote:
Could you give a small example, if it's strain to you
|
Code:
wbmsg.l = wbmessage ; Get pointer to Workbench message
If wbmsg ; Launched from WB
numargs.l = WBArgs ; Always returns at least 1, since program's path is first argument
For i.w = 0 To numargs - 1 ; wArg(0) is program's own path
x.l = Request( "Test", "Parameter " + Str$(i) + ":|" + wArg(i), "Ok")
Next i
Else
NPrint "Start from Workbench!"
End If
End
Note, I've only tested it under OS 3.9 so I've no idea if it will work under 1.3.