home *** CD-ROM | disk | FTP | other *** search
RISC OS BBC BASIC V Source | 1994-07-25 | 464 b | 19 lines |
- Reads the BASIC parameter pathname and returns the number of objects in a Filer window in the system variable KS$Line.
- len%=2048
- buffer len%
- "OS_GetEnv"
- add%
- loop%=0:text$=""
- C%=?(add%+loop%)
- text$=text$+
- loop%+=1
- C%=0
- text$,""" ")+2
- text$=
- text$,P%)
- (text$)
- "XOS_GBPB",10,text$,buffer,999,0,len%,0
- ,,,number%
- ("SETEVAL KS$line "+
- (number%))
-