The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
How to control if a list isn't void?
07-01-2015, 11:02 PM
Post: #1
How to control if a list isn't void?
hi,
I've this code:

Code:

IF (SIZE(Long_Lat)==2) THEN long:= Long_Lat(1); lat:= Long_Lat(2);
  ELSE long:= →HMS(-14°30′40″); lat:= →HMS(37°55′55″); END;

I need a better way to control if the list Long_Lat {} is not void and has two elements with correct format: {-14°30′40″, 37°55′55″} (or almost two reals)...

thank you
Salvo

∫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
How to control if a list isn't void? - salvomic - 07-01-2015 11:02 PM



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