dbTalk Databases Forums  

comments in asa9 ultralite

sybase.public.sqlanywhere.ultralite sybase.public.sqlanywhere.ultralite


Discuss comments in asa9 ultralite in the sybase.public.sqlanywhere.ultralite forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michal Seliga
 
Posts: n/a

Default comments in asa9 ultralite - 01-09-2006 , 06:06 AM






hello,

is there any switch which would disable adding statements to generated
ULDatabase.cpp as comment?

problem is that i have my statements commented and resulting cpp file can't be
compiled because of nested /* */ comments

i tried with asa 9.0.2.3221, ultralite c++ project for palm


i don't like idea of changing comments in sql statement sfrom /* */ to //
because they are quite long sometimes so if there is any other way it wouldbe
better...

Reply With Quote
  #2  
Old   
Michal Seliga
 
Posts: n/a

Default Re: comments in asa9 ultralite - 01-09-2006 , 06:08 AM






sorry, i meant generated .hpp file

Michal Seliga wrote:
Quote:
hello,

is there any switch which would disable adding statements to generated
ULDatabase.cpp as comment?

problem is that i have my statements commented and resulting cpp file can't be
compiled because of nested /* */ comments

i tried with asa 9.0.2.3221, ultralite c++ project for palm


i don't like idea of changing comments in sql statement sfrom /* */ to //
because they are quite long sometimes so if there is any other way it wouldbe
better...

Reply With Quote
  #3  
Old   
Michael Thode
 
Posts: n/a

Default Re: comments in asa9 ultralite - 01-09-2006 , 10:36 AM



We don't have any support for that. It should be possible to write a perl
script (or your favorite string processing tool) to strip the comments out
of the generated file. Try searching for 'strip comments' in google.

Mike

"Michal Seliga" <michal.seliga (AT) visicom (DOT) sk> wrote

Quote:
hello,

is there any switch which would disable adding statements to generated
ULDatabase.cpp as comment?

problem is that i have my statements commented and resulting cpp file
can't be
compiled because of nested /* */ comments

i tried with asa 9.0.2.3221, ultralite c++ project for palm


i don't like idea of changing comments in sql statement sfrom /* */ to //
because they are quite long sometimes so if there is any other way it
wouldbe
better...



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.