2021-10-19_tabs-or-spaces.html
001|
002|
003|
004|
005| def f1 (x, y):
006| if x < y:
007| print('X<Y')
008| print('x,y: %d, %d' % (x,y))
009| if y < x:
010| print('X>Y')
011| print('x,y: %d, %d' % (x,y))
012| if x == y:
013| print('X=Y')
014| print('x,y: %d, %d' % (x,y))
015| print('--')
016|
017|
018|
019| if (foo==bar) {
020| int x = bar / 2;
021| int y = foo * 3;
022| myLog.info('foo is bar!');
023| foo += x;
024| bar += y;
025| myLog.debug('exit function');
026| return foo*bar;
027| }
028|
029|
030| public int myFooBarFunction (float x, float y) {
031| if (x < y ) {
032| myX = x;
033| myY = y
034| }
035| }
036|
037|
038|