We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ZS Extension.
#40
New Release : https://github.com/zs-3/ZS/releases/tag/1.2.0.9
As promised I added the function of returning output to zsprocessinfo.
while I was doing wayback machine of smallbasic.com I download very old version and opened its small basic library and found two new classes:
Argument & Platform.
I transformed argument class to zsargument and it is fine through it you can get the command line arguments sent to exe.
but zsplatform had many error I tried to solve them but I am still not able to know it still I added it to extension it is used for invoking .net assembly methods.
if someone could figure out about it will be great help.

Code:
count = ZSArguments.Count
TextWindow.WriteLine("Arguments count: " + count)

For i = 0 To count - 1
  arg = ZSArguments.GetArgument(i)
  TextWindow.WriteLine("Argument[" + i + "]: " + arg)
EndFor
just start this application with any arguments from command line or any process extension.
ZS
Reply


Messages In This Thread
ZS Extension. - by z-s - 07-02-2024, 07:44 AM
RE: ZS Extension. - by litdev - 07-02-2024, 12:45 PM
RE: ZS Extension. - by z-s - 07-03-2024, 09:09 AM
RE: ZS Extension. - by litdev - 07-03-2024, 11:59 AM
RE: ZS Extension. - by z-s - 07-07-2024, 04:16 PM
RE: ZS Extension. - by litdev - 07-07-2024, 07:34 PM
RE: ZS Extension. - by z-s - 07-08-2024, 09:52 AM
RE: ZS Extension. - by Lester - 07-08-2024, 02:26 PM
RE: ZS Extension. - by z-s - 07-09-2024, 08:04 AM
RE: ZS Extension. - by z-s - 07-09-2024, 01:52 PM
RE: ZS Extension. - by AbsoluteBeginner - 07-09-2024, 03:46 PM
RE: ZS Extension. - by z-s - 07-11-2024, 05:29 AM
RE: ZS Extension. - by z-s - 07-11-2024, 08:24 AM
RE: ZS Extension. - by AbsoluteBeginner - 07-11-2024, 09:48 AM
RE: ZS Extension. - by z-s - 07-11-2024, 09:53 AM
RE: ZS Extension. - by AbsoluteBeginner - 07-11-2024, 11:46 AM
RE: ZS Extension. - by z-s - 07-11-2024, 12:05 PM
RE: ZS Extension. - by AbsoluteBeginner - 07-11-2024, 02:27 PM
RE: ZS Extension. - by z-s - 07-11-2024, 02:31 PM
RE: ZS Extension. - by AbsoluteBeginner - 07-11-2024, 02:36 PM
RE: ZS Extension. - by z-s - 07-11-2024, 04:40 PM
RE: ZS Extension. - by AbsoluteBeginner - 07-11-2024, 05:13 PM
RE: ZS Extension. - by z-s - 07-12-2024, 02:54 AM
RE: ZS Extension. - by z-s - 07-12-2024, 05:19 AM
RE: ZS Extension. - by AbsoluteBeginner - 07-12-2024, 08:23 AM
RE: ZS Extension. - by z-s - 07-12-2024, 09:12 AM
RE: ZS Extension. - by AbsoluteBeginner - 07-12-2024, 09:35 AM
RE: ZS Extension. - by z-s - 07-12-2024, 10:27 AM
RE: ZS Extension. - by AbsoluteBeginner - 07-12-2024, 10:52 AM
RE: ZS Extension. - by z-s - 07-13-2024, 05:25 AM
RE: ZS Extension. - by z-s - 07-23-2024, 06:46 AM
RE: ZS Extension. - by AbsoluteBeginner - 07-23-2024, 08:28 AM
RE: ZS Extension. - by z-s - 07-26-2024, 10:27 AM
RE: ZS Extension. - by litdev - 07-26-2024, 10:41 AM
RE: ZS Extension. - by z-s - 07-28-2024, 05:31 AM
RE: ZS Extension. - by z-s - 07-29-2024, 04:05 PM
RE: ZS Extension. - by litdev - 07-29-2024, 05:00 PM
RE: ZS Extension. - by z-s - 07-31-2024, 10:53 AM
RE: ZS Extension. - by z-s - 07-31-2024, 04:04 PM
RE: ZS Extension. - by z-s - 08-01-2024, 04:37 PM
RE: ZS Extension. - by litdev - 08-01-2024, 06:02 PM
RE: ZS Extension. - by z-s - 08-02-2024, 02:35 AM
RE: ZS Extension. - by z-s - 08-03-2024, 07:00 AM
RE: ZS Extension. - by litdev - 08-03-2024, 08:45 AM
RE: ZS Extension. - by z-s - 08-03-2024, 09:33 AM
RE: ZS Extension. - by z-s - 08-03-2024, 04:41 PM
RE: ZS Extension. - by litdev - 08-03-2024, 04:53 PM
RE: ZS Extension. - by z-s - 08-13-2024, 04:20 PM
RE: ZS Extension. - by litdev - 08-13-2024, 05:12 PM
RE: ZS Extension. - by z-s - 08-13-2024, 05:15 PM
RE: ZS Extension. - by litdev - 08-13-2024, 05:18 PM
RE: ZS Extension. - by z-s - 08-15-2024, 04:59 PM
RE: ZS Extension. - by z-s - 08-19-2024, 08:27 AM
RE: ZS Extension. - by litdev - 08-19-2024, 09:25 AM
RE: ZS Extension. - by z-s - 08-26-2024, 12:38 PM
RE: ZS Extension. - by z-s - 08-28-2024, 04:01 PM
RE: ZS Extension. - by z-s - 09-04-2024, 11:34 AM
RE: ZS Extension. - by z-s - 09-14-2024, 06:39 AM
RE: ZS Extension. - by litdev - 09-14-2024, 09:16 AM
RE: ZS Extension. - by z-s - 09-17-2024, 01:57 AM
RE: ZS Extension. - by litdev - 09-17-2024, 07:24 AM
RE: ZS Extension. - by z-s - 09-24-2024, 08:29 AM
RE: ZS Extension. - by litdev - 09-24-2024, 01:06 PM
RE: ZS Extension. - by z-s - 09-27-2024, 04:58 PM
RE: ZS Extension. - by z-s - 10-01-2024, 02:00 PM
RE: ZS Extension. - by litdev - 10-01-2024, 02:52 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)