Jump to content

MullinRJ

Member
  • Content Count

    1,464
  • Joined

  • Last visited

Everything posted by MullinRJ

  1. After further playing with the code, I found that if the pound sign (#) is removed from the Ang2Vec command, it WILL work in VW8.5.2. However, it will NOT work in MC7 or earlier. Thank you gentlemen for such a minor change with major consequences, without OBVIOUS documentation.
  2. This works great in MC 6&7, but does not in VW8.5.2. Needless to say, I really need it to work! Procedure WhatBroke; VAR dist, ang :Real; B :Vector; Begin AngleVar; dist := 2.7; { length } ang := 33; { angle } B := Ang2Vec(#ang, dist); End; Run(WhatBroke); When compiled, I get: Line #10: B := Ang2Vec(#ang, dist); | { Error: Expected , } | { Error: Expected ) } | { Error: Did not expect this after end of statement - missing ;? } However, if I remove the "AngleVar" statement it compiles and runs, but it does not run correctly. Any suggestions?

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...