問題タブ [quickbasic]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
basic - パラメータを変数名として使用するにはどうすればよいですか?
どの変数を返すかを見つけるために変数パラメーターを使用できるサブルーチンを作成しようとしています。
リテラル "STR_WEG_PREMIUM" の LPFoot を変数 STR_WEG_PREMIUM で返したいので、値が必要な変数ごとに 1 つではなく、1 つのサブルーチンを作成するだけです。
GetStdMotorPricing("STR_WEG_PREMIUM",LPFoot) を呼び出して、LPFoot に STR_WEG_PREMIUM Motor の価格を設定します。