Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:02 15 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2: Error calling MATH Q_VECTOR

Author Message
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 527
Posted: 12:36am 11 Oct 2020
Copy link to clipboard 
Print this post

I'm trying to use MATH Q_VECTOR and the command is raising the error "Argument count"


option base 1

dim float v(3)=(1,2,3)
dim float q(5)

math q_vector v(),q() ' <= The error is being raised on this line



Am I doing something wrong?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10582
Posted: 07:44am 11 Oct 2020
Copy link to clipboard 
Print this post

Documentation cut-sand-paste error - sorry

Syntax should be MATH Q_VECTOR x, y, z, outVQ()
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 527
Posted: 04:41pm 11 Oct 2020
Copy link to clipboard 
Print this post

  matherp said  Documentation cut-sand-paste error - sorry

Syntax should be MATH Q_VECTOR x, y, z, outVQ()


Thank you Peter
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025