|
-
Oct 9th, 2000, 12:31 AM
#1
Thread Starter
New Member
Hi.
I'm wondering if there is anyone who knows how to do the following things:
Count the number of a certain char in a string
Parse a string into tokens
Compile an exe
In short, make a compilable app... is it possible? I really wanna do it...
Thanx
Jonno Manning
The Lurker from The Deep
-
Oct 9th, 2000, 01:50 AM
#2
Yeap am doing that at the moment
Have a requirement for a real cut down version of basic as a teaching add, (where users get their ideas amazes me).Basically doing it in "C" with a couple of other guys. You need to ascertain what commands/modifiers/etc are allowed, then determine an exceptable syntax, design an IDE for it, and on the compile option translate the code into...in our case it's "C" but you may want vb or whatever...then run the compiler. Also you need to incorporate a linker to ensure all libraries that are needed by the exe are included.
Phantomd is currently working on a language for bar-code printers which is extremely complex, but will by-pass any number of problems we are currently facing....
So yes have a go
As to number of incidents of a character in a string...which version of vb are you using?
-
Oct 9th, 2000, 04:22 AM
#3
Thread Starter
New Member
Thanx, is there any code I can get? Anything in the API? What a really need is to parse a string by spaces (" ").
Jon
Ps I am using vb6
Jonno Manning
The Lurker from The Deep
-
Oct 9th, 2000, 08:18 AM
#4
Parsing a string is not the problem. What you do afterwards is the problem.
I have a set of tools to handle delimited strings. If you want, you can e-mail me and I'll send them to you.
DerFarm
[email protected]
-
Oct 9th, 2000, 08:52 PM
#5
Thread Starter
New Member
Thanks so far, now is it possible to compile an app? How is it done ? OR I could compile a text file to take up less space, and yet still be able to read it. Maybe its possible to change all keywords into hex strings (#0F, etc). Any ideas?
Jonno Manning
The Lurker from The Deep
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|