NEURON
xred.cpp File Reference
#include <../../nrnconf.h>
#include "hoc.h"
#include <stdio.h>

Go to the source code of this file.

Functions

int ired (const char *prompt, int defalt, int min, int max)
 
double xred (const char *prompt, double defalt, double min, double max)
 
void hoc_Sred (void)
 
int hoc_sred (const char *prompt, char *defalt, char *charlist)
 
char * strstr (cs, ct) char *cs
 
 for (cs_ptr=cs;((strchr_ptr=(char *) strchr(cs_ptr, ct[0])) &&(ct_len<=strlen(strchr_ptr)));cs_ptr=strchr_ptr+1)
 
 return (char *) 0
 

Variables

char * ct
 
int ct_len
 

Function Documentation

◆ for()

for ( cs_ptr  = cs; ((strchr_ptr = (char *)strchr(cs_ptr, ct[0]))    && (ct_len <= strlen(strchr_ptr))); cs_ptr = strchr_ptr + 1)

Definition at line 185 of file xred.cpp.

◆ hoc_Sred()

void hoc_Sred ( void  )

Definition at line 106 of file xred.cpp.

◆ ired()

int ired ( const char *  prompt,
int  defalt,
int  min,
int  max 
)

Definition at line 55 of file xred.cpp.

◆ return()

return ( char *  )

◆ strstr()

char* strstr ( cs  ,
ct   
)

◆ xred()

double xred ( const char *  prompt,
double  defalt,
double  min,
double  max 
)

Definition at line 67 of file xred.cpp.

Variable Documentation

◆ ct

char * ct

Definition at line 178 of file xred.cpp.

◆ ct_len

ct_len
Initial value:
{
char *strchr_ptr, *cs_ptr

Definition at line 179 of file xred.cpp.