The lab is out of date. With J601 more automatic conversions are done and what was an error now works. We will update the lab. Thanks for the report.

----- Original Message ----- From: "Yuvaraj Athur Raghuvir" <[EMAIL PROTECTED]>
To: "Programming forum" <[email protected]>
Sent: Monday, October 02, 2006 9:57 PM
Subject: [Jprogramming] DLL Lab: Type error (6)?


Lab: DLL: Writing and Using a DLL

── (25 of 58) cd ────────────────────────────────────────────
cd only does automatic conversion from boolean to integer.
Parameter type not matching the declaration is an error.
)
  p=: 23.5 - 19.5
  p  NB. looks like i, but is d
4
  inci p
┌─┬─┐
│5│4│
└─┴─┘
  cder''  NB. 6 0 - 1st parameter isn't type i
0 0

─────────────────────────────────────────────────────

Here, I expected that cder'' returns 6 0 as indicated. However, get 0 0
meaning no error.

Am I missing something?

J601a; j601/2006-09-04/09:20



--------------------------------------------------------------------------------


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to