DirkTD Posted January 19, 2011 Share Posted January 19, 2011 hello everyone, i have a question about VBScript. if i can add white spaces in a JS (example: <script type="text/javascript">var variable = "variable"document.write (variable)</script> )script element to make it more readable, does this also works in VBS(example: <script type="text/vbscript">var variable = "variable"document.write (variable) )?kind regeards, Htmlfeak Link to comment Share on other sites More sharing options...
[dx] Posted January 21, 2011 Share Posted January 21, 2011 The best option is to try. But why you should do that. Programming processors needs to read it, not you Link to comment Share on other sites More sharing options...
DirkTD Posted January 25, 2011 Author Share Posted January 25, 2011 you're right but if i have to edit a very long code this would not be fun Link to comment Share on other sites More sharing options...
DirkTD Posted January 25, 2011 Author Share Posted January 25, 2011 ok so i tried it but i get the message: Types will not match: 'var'i will start a new topic with the name(in the VBS part): "could anyone validate my script" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.