Jump to content

Recommended Posts

Posted

I see nothing wrong with this code but it returns with syntax error...

MapKey(&Throttle,MSU,0,0);

"You see, IronHand is my thing"

My specs:  W10 Pro, I5/11600K o/c to 4800 @1.32v, 64 GB 3200 XML RAM, Red Dragon 7800XT/16GB.

Posted
4 minutes ago, Hempstead said:

Missing a comma between &Throttle and MSU? Syntax error.

Thanks for the reply, the comma is there however.

"You see, IronHand is my thing"

My specs:  W10 Pro, I5/11600K o/c to 4800 @1.32v, 64 GB 3200 XML RAM, Red Dragon 7800XT/16GB.

Posted
33 minutes ago, Steel Jaw said:

MapKey(&Throttle,MSU,0,0);

Don’t see no comma.  The correct syntax should be

MapKey(&Throttle, MSU);


As to whether the semantics is correct or not, no idea.

Posted

Dude how do you not see the comma between &Throttle and MSU ?

"You see, IronHand is my thing"

My specs:  W10 Pro, I5/11600K o/c to 4800 @1.32v, 64 GB 3200 XML RAM, Red Dragon 7800XT/16GB.

Posted

Switch to night mode at the top of the website...

"You see, IronHand is my thing"

My specs:  W10 Pro, I5/11600K o/c to 4800 @1.32v, 64 GB 3200 XML RAM, Red Dragon 7800XT/16GB.

Posted (edited)

If I have to guess, it's probably one of the what I call Markdown Minefield.

MapKey(&Throttle,MSU,0,0);

When you post code in the Markdown Idiocy Era, you better do the <pre> </pre>, or use whatever "Code" markup there is available.

Edited by Hempstead
Posted

well okay but so the code is fine ya think?

"You see, IronHand is my thing"

My specs:  W10 Pro, I5/11600K o/c to 4800 @1.32v, 64 GB 3200 XML RAM, Red Dragon 7800XT/16GB.

Posted (edited)

@Steel Jaw: There is indeed an argument to many to be correct but your code should compile fine (it does here, compiler doesn't take that second argument into account if it's a 0) so this line isn't the problem. Look at a line before or after (if you have the arguments on separate lines it could be a few lines up or down. Post a bit more of the script pls...

 

PS: Didn't i tell you before to add spaces in between the arguments to increase readability and error solving? You lazy bastard you... :biggrin:

Edited by Lange_666
  • Like 1

Win11 Pro 64-bit, Ryzen 5800X3D, Corsair H115i, Gigabyte X570S UD, EVGA 3080Ti XC3 Ultra 12GB, 64 GB DDR4 G.Skill 3600. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base, MFG Crosswind pedals, TrackIR4, Rift-S, Elgato Streamdeck XL.

Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance!

Posted
4 hours ago, Lange_666 said:

@Steel Jaw: Look at a line before or after (if you have the arguments on separate lines it could be a few lines up or down. 

 

That was it, thanks, brother, the code line above was missing a closing ).  Cheers.

"You see, IronHand is my thing"

My specs:  W10 Pro, I5/11600K o/c to 4800 @1.32v, 64 GB 3200 XML RAM, Red Dragon 7800XT/16GB.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...