12345678910111213141516171819202122 |
- const dataTypes = {
- String: 'String',
- byte: 'Byte',
- short: 'Short',
- int: 'Int',
- long: 'Long',
- float: 'Float',
- double: 'Double',
- boolean: 'Boolean',
- char: 'Char'
- };
- function getVariableTypeBarrier (dataType) {
- switch (dataType) {
- case 'String':
- return "\"";
- case 'char':
- return "\'";
- default:
- return "";
- }
- }
|