Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 testing the code tags
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Eric Coleman
Gladiator

USA
811 Posts

Posted - Feb 15 2003 :  11:39:04 AM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
  
' 0 to hide, and 1 to show
Public Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
  
Public Declare Function QueryPerformanceFrequency Lib "kernel32" (lpFrequency As Currency) As Long
Public Declare Function QueryPerformanceCounter Lib "kernel32" (lpPerformanceCount As Currency) As Long
  
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)  
  
  
'**********************************
'constants
Public Const PI As Single = 3.14159265358979  
Public Const PI2 As Single = 6.28318530717959  
Public Const PI_3 As Single = 1.0471975511966  
Public Const Deg2Rad As Single = PI / 180  
Public Const power31 = &H80000000  
'**********************************l
  
  

AT
Squire

18 Posts

Posted - Feb 15 2003 :  1:10:15 PM  Show Profile  Reply with Quote
All you need to do now it have it check the code and highlight invalid commands in red :)

Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Feb 15 2003 :  3:59:29 PM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
that is actually a pretty good idea. It would be neet to have a part of the website where you could upload code and have the server compile it for you :-) Of course, I'm not sure what that would be usefull for, but it sounds cool.
Go to Top of Page

Rag on a Stick
Neophyte

Australia
9 Posts

Posted - Feb 15 2003 :  10:00:17 PM  Show Profile  Reply with Quote
I would sometimes have a use for that... although I don't know whether I would use it :)

  
'This is a comment _
and it spans over 2 lines
'Private Const Long As Long - another comment
  


Since you didn't use the test forum, then neither will I :)

Trying is the first step towards failure
Go to Top of Page

Rag on a Stick
Neophyte

Australia
9 Posts

Posted - Feb 15 2003 :  10:05:00 PM  Show Profile  Reply with Quote
I think that is a double break, the font is big after the code box :)
  
test  
  

Big?
  
test  
  

Bigger? :)

Trying is the first step towards failure
Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Feb 16 2003 :  01:45:05 AM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
looks like the "big text" was an IE issue. Both Opera and Mozilla rendered the CSS without error. And the _ character works now :) Now to just get it to compile...
Go to Top of Page

Rag on a Stick
Neophyte

Australia
9 Posts

Posted - Feb 16 2003 :  5:37:23 PM  Show Profile  Reply with Quote
I'm not done breaking it yet :). How about this:
  
Dim Long As Long
  



Trying is the first step towards failure

Edited by - Rag on a Stick on Feb 16 2003 5:46:06 PM
Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Feb 17 2003 :  01:30:23 AM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
You can helps by adding error checking so errors will be highlighted in red. I've attached the asp code used to format the code tags. You can just modify it to add the error checking

Download Attachment: 200321704923_color coding.txt
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.12 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.