English
Forum

Parametertyperkennung?

 

Nico
Madysa
have straight one small trouble. and of course bastele I a MuFuProc (Multi-Funktions-Procedure). so name I personally Procedures, The according to Parameterzahl or ähnliches, differently react. concise and well:
Can somehow inquire, obe one Parameter one String, a Integer, etc. is?
And if not: might Roland possible @TypeOf() properly strain?
 
Nico Madysa
05/05/06  
 




Jac
de
Lad
You can still a further Parameter add, the, according to worth, dier angibt whom type The others Parameter having...

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
05/05/06  
 




Nico
Madysa
it would but right uncomfortably for User, there one itself yet prescribe can and then 9,80665 Ewigkeiten to the Error seek.
no, it would praktischer, if The MuFuProc The thing intern resolve, but thanks for suggestion.
 
Nico Madysa
05/05/06  
 



the goes if The Number of Parameter abweicht.
CompileMarkSeparation
05/05/06  
 




Nico
Madysa
your first suggestion is the of Jac not at all time so unähnlich and the second part n bissl To risky.
there not even iF a API or something like from the Ärmel wander can, begin I To believe, with Profan there for something like no Opportunities.
If Roland me now not offenbart, it nähme itself of my on and erweitere The @TypeOf()-function, I will on a eurer Proposals zurückgreifen.
thanks!
 
Nico Madysa
05/08/06  
 




Timotheus
Tja Nico, with API has not plenty To do, this is everything Profan-Intern. Sag time, Why position You your question so far auslaufend over the whole internet, where still only a computer removes in Lauta already The response sits.

I have The time moreover a procedure written, The the determined.
CompileMarkSeparation
PROC TypeOf

    Parameters TypeOf&
    Parameters TypeOf$

    ifnot TypeOf&

        ifnot TypeOf$ = "0"

            Messagebox("String","",0)
            Return 0

        endif

    endif

    if InStr(".",TypeOf$)

        Messagebox("Float","",0)
        Return 1

    endif

    Messagebox("Interger/Longinteger","",0)
    Return 2

ENDPROC


simply The procedure in your code einarbeiten, and then even according to Result The Variable with Parameters again new into right type loading. of course a very ungewöhnliche Programming, but hauptsache It's all right.

Timo
 
05/08/06  
 




Nico
Madysa
thanks.
 
Nico Madysa
05/09/06  
 




Nico
Madysa
thanks.
 
Nico Madysa
05/09/06  
 




Nico
Madysa
Thank you.
 
Nico Madysa
05/09/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.237 Views

Untitledvor 0 min.
Untitled05/26/12
Untitled02/07/12
RICOSCH11/04/11

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie