Home Segments Index Top Previous Next

605: Mainline

Once you have defined extract_car_code, you can incorporate extract_car_code into the switch statement that worked previously, in Segment 602, on an integer variable, rather than on a returned character:

switch (extract_car_code (input_buffer)) {...}