Non-terminated string
#1

I'm getting
Код:
(9687 -- 9688) : error 037: invalid string (possibly non-terminated string)
(9688) : warning 217: loose indentation
(9688) : error 017: undefined symbol "Cellphone"
(9688) : error 017: undefined symbol "t"
(9688) : fatal error 107: too many error messages on one line
When trying to format the line below. I have no idea why.. Would be great if somebody could help
Код:
format(string, sizeof(string),
				"Item\tPrice\n
				Cellphone\t%s\n
				GPS System\t%s\n
				Portable Radio\t%s\n
				Boombox\t%s\n
				Mask\t%s\n
				Watch\t%s\n
				Frozen Pizza\t%s\n
				Frozen Hamburger\t%s\n
				Frozen Meat\t%s\n
				Bread Loaf\t%s\n
				Oranges (5)\t%s\n
				Apples (5)\t%s\n
				Bananas (5)\t%s\n
				Cake\t%s\n
				Ice Cream Box\t%s\n
				Cereal Box\t%s\n
				Case of Beer\t%s\n
				Milk\t%s\n
				Orange Juice\t%s\n
				Apple Juice\t%s\n
				Soda\t%s\n
				Water\t%s\n
				Beer\t%s\n
				Coffee\t%s\n
				Apple Juice\t%s\n
				Aspirin\t%s\n
				Cigarettes (20)\t%s",
				FormatNumber(BusinessData[bizid][bizPrices][0]),
				FormatNumber(BusinessData[bizid][bizPrices][1]),
				FormatNumber(BusinessData[bizid][bizPrices][2]),
				FormatNumber(BusinessData[bizid][bizPrices][3]),
				FormatNumber(BusinessData[bizid][bizPrices][4]),
				FormatNumber(BusinessData[bizid][bizPrices][5]),
				FormatNumber(BusinessData[bizid][bizPrices][6]),
				FormatNumber(BusinessData[bizid][bizPrices][7]),
				FormatNumber(BusinessData[bizid][bizPrices][8]),
				FormatNumber(BusinessData[bizid][bizPrices][9]),
				FormatNumber(BusinessData[bizid][bizPrices][10]),
				FormatNumber(BusinessData[bizid][bizPrices][11]),
				FormatNumber(BusinessData[bizid][bizPrices][12]),
				FormatNumber(BusinessData[bizid][bizPrices][13]),
				FormatNumber(BusinessData[bizid][bizPrices][14]),
				FormatNumber(BusinessData[bizid][bizPrices][15]),
				FormatNumber(BusinessData[bizid][bizPrices][16]),
				FormatNumber(BusinessData[bizid][bizPrices][17]),
				FormatNumber(BusinessData[bizid][bizPrices][18]),
				FormatNumber(BusinessData[bizid][bizPrices][19]),
				FormatNumber(BusinessData[bizid][bizPrices][20]),
				FormatNumber(BusinessData[bizid][bizPrices][21]),
				FormatNumber(BusinessData[bizid][bizPrices][22]),
				FormatNumber(BusinessData[bizid][bizPrices][23]),
				FormatNumber(BusinessData[bizid][bizPrices][24]),
				FormatNumber(BusinessData[bizid][bizPrices][25]),
				FormatNumber(BusinessData[bizid][bizPrices][26])
			);
Reply


Messages In This Thread
Non-terminated string - by quvin4 - 04.11.2016, 23:18
Re: Non-terminated string - by GoldenLion - 04.11.2016, 23:53
Re: Non-terminated string - by quvin4 - 05.11.2016, 00:03
Re: Non-terminated string - by SickAttack - 05.11.2016, 00:28

Forum Jump:


Users browsing this thread: 3 Guest(s)