View Single Post
Old 09 May 2021, 23:47   #9
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,369
Quote:
Originally Posted by LessNick View Post
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.
Daedalus is offline  
 
Page generated in 0.04276 seconds with 11 queries