Post Reply 
Periodic table (Elements) - solved
04-25-2016, 08:49 PM
Post: #10
RE: Periodic table (Elements) - solved
Stephen,
the problem could be in this chunk of code:
Code:

IF KK==30 THEN //ENTER
ML:=INPUT(SY,"Enter element name or Symb");
IF ML THEN
FOR EL FROM 1 TO NELE DO
IF SY==Z_ELEMENTNAMES(EL,2) OR SY==Z_ELEMENTNAMES(EL,3) THEN
RECT_P(0,0,320,220);
DRW_ELE_BOX(POS_ELE_BOX(EL),EL,Z_ELEMENTNAMES(EL,2));
DRWNAME(Z_ELEMENTNAMES(EL,3));
WAIT;
END;
END;

If I put
RETURN {ML, SY};
after the ML:=Input... line I get {0,""}, so the input isn't seen at all, here...

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Periodic table (Elements) - solved - salvomic - 04-25-2016 08:49 PM



User(s) browsing this thread: 1 Guest(s)