| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: How do I use a variable in a command |
Thomas writes: > On the C64 I have an ML Routine that displays a directory. > The format for the command is SYS850,"$:*" > I need to insert a variable into the $ string. So that in a program I > can display filenames that start with a letter. > > For example, I want to display all file names that start with I. so > > 10 A$="I":sys850,"$:"+A$+"*" > > will not work. > Does anyone know a way to do this? What about putting the whole argument into A$, does that work? So for example just 10 A$="$:I*":sys850,A$ But really, in stock C64 basic SYS doesn't take parameters so I suppose you have something non-stock running? So maybe you can look into how that works to figure out how to do what you want? --- SoupGate-Win32 v1.05* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3) SEEN-BY: 57/0 116/102 130/512 153/250 317/2 3 393/68 633/267 280 640/384 SEEN-BY: 712/620 848 770/0 1 3 100 340 772/0 1 210 500 @PATH: 770/3 1 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.