Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Petcat Basic
2008-02-21 16:23
6R6

Registered: Feb 2002
Posts: 245
Petcat Basic

Hello,
I'm using petcat.exe (comes with WinVice)
for some basic coding.
Anyone know if its possible to insert comments
in my source ?
As it works now petcat compiles my comments to basic
code aswell.

GRG
2008-02-21 16:56
chatGPZ

Registered: Dec 2001
Posts: 11386
WTF are you doing basic? is that you knoeki ? =D

seriously, just use some tool for preprocessing.... grep comes to mind, or even cpp.
2008-02-21 17:48
null
Account closed

Registered: Jun 2006
Posts: 645
Quote: WTF are you doing basic? is that you knoeki ? =D

seriously, just use some tool for preprocessing.... grep comes to mind, or even cpp.


yes, I hacked GRG's account to spread BASIC propaganda :D

------------------------------------
http://zomgwtfbbq.info
2008-02-21 18:38
JackAsser

Registered: Jun 2002
Posts:
Quote: Hello,
I'm using petcat.exe (comes with WinVice)
for some basic coding.
Anyone know if its possible to insert comments
in my source ?
As it works now petcat compiles my comments to basic
code aswell.

GRG


Yup, I agree with Groepaz. Use cpp and get all the goodies like #include, #ifdef, ## operators, // operator, /* */ operator etc..
2008-02-21 20:41
iAN CooG

Registered: May 2002
Posts: 3196
Quote: Hello,
I'm using petcat.exe (comes with WinVice)
for some basic coding.
Anyone know if its possible to insert comments
in my source ?
As it works now petcat compiles my comments to basic
code aswell.

GRG


I rarely use petcat for basic de/tokenizing, always got problems with it, so bastext became my preferred one. And no, you can't add comment mixing them in the source, only before the line

start tok64 destination_file.prg

and after the ending line

stop tok64
2008-02-22 16:26
6R6

Registered: Feb 2002
Posts: 245
Hehe.. :)
tok64.exe seems to support comments with ;
but thanks anyway..

GRG
2008-02-22 16:56
6R6

Registered: Feb 2002
Posts: 245
Ian : You're right bastext seems to be working better..
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Deev/Onslaught
Mike
LKP/CFN
kbs/Pht/Lxt
Aomeba/Artline Desig..
zscs
Lazycow
TheRyk/MYD!
t0m3000/hf^boom!^ibx
Case/Padua
St0rmfr0nt/Quantum
MWR/Visdom
Chesoner/House Designs
katon/Lepsi De
Guests online: 118
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Webmasters
1 Slaygon  (9.6)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.039 sec.