Char/Word/Line counter

If you require help or assistance with anything then please post here

Moderators: electrogear, exonerate

Char/Word/Line counter

Postby unkargherth on Thu Jun 09, 2005 1:25 am

I still not really understand the Custom parser issue

Is posible to build a Char/word/line counter based on custom parser. I supose so, but have no clue on how do it. Anybody can provide an example?
User avatar
unkargherth
smanatic
 
Posts: 605
Joined: Fri Apr 08, 2005 8:46 pm

Postby infuzion on Thu Jun 09, 2005 3:50 am

I'm not sure how to do a word count (perhaps use the Stack thing?)... the parcing stuff seemed like black magic to me, untill jorge wrote the NoteToInt program (atleast enought to edit it for my own version. Then again, that's how I learn 60% of SM; hacking others' code.
Need help? First search the forum & WiKi, then post in the help forum with a clear topic, request, & OSM. Then please WiKi the correct solution. If you want my personal assistance, I charge by the hour or for an exchange of services.
infuzion
smstar
smstar
 
Posts: 6163
Joined: Wed May 04, 2005 8:02 pm
Location: Earth, USA, CO, Denver

Postby rl on Thu Jun 09, 2005 8:41 am

a "man regexp" on your linux/osx/unix box of your choice should give you a basic idea, but SOME workings are also black magic for me.
Someting for the tutorial, malc. HINT HINT
User avatar
rl
dsp wiz
 
Posts: 1494
Joined: Mon Feb 07, 2005 10:24 pm
Location: de.earth.universe.known


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 0 guests