Platforms to show: All Mac Windows Linux Cross-Platform
FAQ.How to read the command line on windows?
Feedback.
Answer: Try this code:
Example:
Notes: Newer Realbasic versions have a system.commandline property.
Feedback.
Answer: Try this code:
Example:
#if targetwin32 then
dim line as string
Dim mem as MemoryBlock
Declare Function GetCommandLineA Lib "kernel32" () As Ptr
mem=GetCommandLineA()
s=mem.cstring(0)
#endif
Links
MBS Realbasic PDF Plugins - Nachhilfe in Mendig