Search found 3 matches

by shadow382
Thu Apr 29, 2010 11:56 pm
Forum: Mac OSX
Topic: Trouble with RunProgram()
Replies: 1
Views: 1554

Trouble with RunProgram()

I'm having some trouble with the RunProgram command. I've searched and searched, but none of the solutions seem to work for me. I'm trying to open the Terminal and use the "cal" command to display a calendar inside a message box. It's pretty much the same as the example code in the help file under ...
by shadow382
Tue Apr 22, 2008 2:40 pm
Forum: Coding Questions
Topic: Word$() Command?
Replies: 3
Views: 875

I feel stupid now. I saw that when I was searching, but just skimmed right over it. Anyway, it is what I need and thanks for your help!
by shadow382
Tue Apr 22, 2008 2:37 pm
Forum: Coding Questions
Topic: Word$() Command?
Replies: 3
Views: 875

Word$() Command?

I've been writing a program in another BASIC language, but have decided to switch to PureBasic. In the other language, there is a "word$()" command. I use it to extract specified text from a string.

Ex: string$ = "width=640"
n$ = Trim$(Word$(string$, 2, "="))

This would give me the text that ...