Flow Control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Flow Control

    Here is a piece of flow control for changing the diameter of a twin cylinder crankcase. Just add the appropriate verbage into your features and dimensions.


    VERSION =COMMENT/INPUT,YES,'IS THIS TWIN CRANKCASE VERSION 24560...
    ,
    ,1. 13?
    ,2. 17?
    ,3. 35?
    ,4. 52?
    ,'
    SELECT/VERSION.INPUT
    CASE/1
    ASSIGN/SLEEVE_DIAMETER = 73.8
    END_CASE/
    CASE/2
    ASSIGN/SLEEVE_DIMATER = 76.9
    END_CASE/
    CASE/3
    ASSIGN/SLEEVE_DIAMETER = 79.9
    END_CASE/
    CASE/4
    ASSIGN/SLEEVE_DIAMETER = 79.9
    END_CASE/
    DEFAULT_CASE/
    COMMENT/OPER,NO,INCORRECT VALUE INPUT FOR VERSION NUMBER
    GOTO/ENDO
    END_DEFAULTCASE/
    END_SELECT/
    sigpic

    James Mannes

Related Topics

Collapse

  • JamesMannes
    Flow Control
    by JamesMannes
    Fellas, I am trying to get a diameter passed into my program via flow control and I am trying a new approach. Can you look at my code and tell me my problem?...
    02-13-2007, 02:27 PM
  • shoey
    If/end if statements
    by shoey
    Does anyone know how to get pcdmis to read one or/and multiple inputs in an if/end if statement?



    C2 =comment/input,no,'which...
    02-16-2012, 05:11 PM
  • DAN_M
    Variable help
    by DAN_M
    I'm still getting used to variables& assignments. Can somebody please help me with the following?:
    1) How do I set up the code below to not...
    09-22-2017, 02:49 PM
  • DAN_M
    IF Statement Help
    by DAN_M
    *****SOLVED*****

    Thanks to RandomJerk and all those who chimed in.

    This what I ended up with:
    Code:
    GROUP_PARAMETRICSTUFF=GROUP/SHOWALLPARAMS=YES
    ...
    09-06-2018, 11:59 AM
  • DAN_M
    Input statement help
    by DAN_M
    I wrote a program that controles various avriables with an input statement. I am trying to control the acceptable responses to this input statement. How...
    10-03-2017, 10:58 AM
Working...
X